package ar.com.personalTravellers.daos;

import java.util.Collection;

import ar.com.personalTravellers.beans.Neighborhood;
import ar.com.personalTravellers.beans.Zone;

import com.angel.architecture.persistence.ids.ObjectId;
import com.angel.dao.generic.interfaces.GenericDAO;

/**
 *
 * @author William
 */
public interface NeighborhoodDAO extends GenericDAO<Neighborhood, ObjectId> {

    public Neighborhood findUniqueByName(String name);

    public Collection<Neighborhood> findAllByZone(Zone zone);

    public Collection<Neighborhood> findAllByZoneName(String zoneName);

    public Collection<Neighborhood> findAllByActive(Boolean active);

    public Collection<Neighborhood> findAllActives();

    public Collection<Neighborhood> findAllUnactives();
}